﻿using NAnt.SVN.Tasks.Constants;

namespace NAnt.SVN.Tasks.Constants
{
    /// <summary>
    /// Class with all the valid svn properties
    /// </summary>
    sealed public class SVNProperties : SVNStaticConstants
    {
        #region Available properties

        public static string IGNORE = "ignore";
        public static string KEYWORDS = "keywords";
        public static string EXECUTABLE = "executable";
        public static string EOLSTYLE = "eol-style";
        public static string MIMETYPE = "mime-type";
        public static string EXTERNALS = "externals";
        public static string NEEDSLOCK = "needs-lock";

        #endregion

        /// <summary>
        /// Use this function to prefix the property with svn:
        /// </summary>
        /// <param name="property"></param>
        /// <returns></returns>
        public static string PrefixProperty(string property)
        {
            return "svn:" + property;
        }
    }
}
